.switch-container {
  width: 50px;
  height: 30px;
  border-radius: 15px;
  background-color: #ccc;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease; /* 添加背景颜色的过渡效果 */
}

.switch-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: white;
  position: absolute;
  left: 2px;
  transition: all 0.3s ease;
}

.switch-circle-active {
  left: calc(100% - 28px);
}
.switch-container.active {
  background-color: #4CD964; /* 打开时的背景颜色 */
}